package demo6;



/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/2/27 18:55
 */
public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p = new Point();
        p.setX(100);
        p.setY(200);
        System.out.println(p.getX()+","+ p.getY());
    }
}
